package com.vm.dao.system;

import java.util.List;

import com.vm.dao.BaseDAOImpl;
import com.vm.entity.Code;



public class CodeDAOImpl extends BaseDAOImpl<Code, String> implements ICode {

	public  CodeDAOImpl(){
		setEntityClass(Code.class);
	}
	
	
	public List<Code> findAllCode(String classCd) {
		List<Code> list = super.findByHql("from Code where classCd=?", new Object[] {classCd});
		return list;
	}

	
}
